package com.lovo.product.esp;

import com.lovo.common.bean.Product;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface ProductElasticsearchDAO extends ElasticsearchRepository<Product,Integer> {
    List<Product> findByName(String name);

}
